Page({
    data: {
        value: ""
    },
    onLoad: function(n) {},
    searchTg: function() {
        wx.navigateTo({
            url: "/pages/searchLists/index?type=0&keyword=".concat(this.data.value)
        });
    },
    searchRw: function() {
        wx.navigateTo({
            url: "/pages/searchLists/index?type=1&keyword=".concat(this.data.value)
        });
    },
    onReady: function() {},
    inputClear: function() {
        this.setData({
            value: ""
        });
    },
    textInput: function(n) {
        var t = n.detail.value.replace(/\s/g, "");
        this.setData({
            value: t
        });
    },
    onShow: function() {},
    onHide: function() {},
    onUnload: function() {},
    onPullDownRefresh: function() {},
    onReachBottom: function() {},
    onShareAppMessage: function() {}
});